<script setup lang="ts">
import { reactive } from "vue";
import { useRoute } from "vue-router";
// import { ref } from "vue";
import N12 from "./N12.vue";
import N15_N15A from "./N15_N15A.vue";
import { http } from "@/utils/http";

const handleTabSwitch = (tab: any) => {
  console.log(tab.props.label);
  // N15_N15A.handle_N15_tab_switch();
};
</script>

<template>
  <el-tabs @tab-click="handleTabSwitch" type="border-card">
    <el-tab-pane label="N15&N15A">
      <N15_N15A ref="n15_n15a" />
    </el-tab-pane>
    <el-tab-pane label="N12">
      <N12 ref="n12" />
    </el-tab-pane>
  </el-tabs>
</template>

<style scoped></style>
